/* setting font fixes combobox rendering issues in IE. See
 * http://extjs.com/forum/showthread.php?t=72505 */
body {
    font-family:helvetica,tahoma,verdana,sans-serif;
}

/* don't wrap lines on any tooltips */
.x-tip {
    white-space: nowrap;
}

/* get images on buttons with text to line up with those with no text */
.x-btn-text-icon .x-btn-center .x-btn-text {
    background-position: 0 3px;
}

/* apply some margin when using the row expander */
.x-grid3-row-body p {
    margin: 5px !important;
}

/* workaround for semi-alpha pixels in IE7: background needs to be the same
 * as the toolbar's background color */
.ext-ie .x-item-disabled .x-btn-text {
    background-color: #EAEAEA;
}

.x-btn .icon-geoexplorer {
    background-image: url(img/geoexplorer.png);
}

.x-btn .icon-addlayers {
    background-image: url(../images/silk/add.png);
}

.x-btn .icon-removelayers, .x-menu-item .icon-removelayers {
    background-image: url(../images/silk/delete.png);
}

.x-btn .icon-deletevector {
    background-image: url(../images/geosilk/vector_delete.png);
}

.x-btn .icon-delete {
    background-image: url(../images/silk/delete.png);
}

.x-btn .icon-add {
    background-image: url(../images/silk/add.png);
}

.x-btn .icon-edit {
    background-image: url(../images/silk/pencil.png);
}

.x-panel .icon-login {
    background-image: url(../images/silk/user.png);
}
.x-btn .icon-point {
    background-image: url(../images/silk/star.png);
}

.x-panel .icon-map {
    background-image: url(../images/silk/map.png);
}

.x-panel .icon-impact {
    background-image: url(../images/silk/error.png);
}


.x-btn .icon-properties, .x-menu-item .icon-properties {
    background-image: url(../images/silk/wrench.png);
}

.x-btn .icon-editfeature {
    background-image: url(../images/silk/map_edit.png);
}

.x-btn .icon-select {
    background-image: url(../images/silk/cursor.png);
}

.x-btn .icon-addfeature {
    background-image: url(../images/silk/pencil_add.png);
}
.x-btn .icon-save {
    background-image: url(img/geosilk/map_save.png);
}

.x-btn .icon-measure {
    background-image: url(img/geosilk/measure.png);
}

.icon-measure-length {
    background-image: url(img/geosilk/ruler.png) !important;
}

.icon-measure-area {
   background-image: url(img/geosilk/ruler_square.png) !important;
}

.x-btn .icon-zoom-in { 
    background-image: url(../images/silk/magnifier_zoom_in.png);
}

.x-btn .icon-zoom-out { 
    background-image: url(../images/silk/magnifier_zoom_out.png);
}

.x-btn .icon-zoom-previous { 
    background-image: url(../images/silk/arrow_left.png);
}

.x-btn .icon-zoom-next { 
    background-image: url(../images/silk/arrow_right.png);
}

.x-btn .icon-zoom-visible { 
    background-image: url(../images/silk/arrow_out.png);
}

.x-btn .icon-zoom-to, .x-menu-item .icon-zoom-to { 
    background-image: url(../images/silk/magnifier.png);
}

.x-btn .icon-pan { 
    background-image: url(../images/geosilk/pan.png);
}

.x-btn .icon-draw-polygon { 
    background-image: url(../images/geosilk/shape_square_red.png);
}

.x-btn .icon-find { 
    background-image: url(../images/silk/find.png);
}

.legend-item {
    margin: 0.5em 10px;
}

div.map-overlay {
    z-index: 1000; 
    position: absolute; 
    right: 10px; 
    bottom: 10px;
}

div.map-overlay div.overlay-element {
    display:inline;
    float: left;
    margin: 5px;
}

.overlay-scaleline {
    bottom: 0px;
    left: 0px;
    margin-top: 0px;
}

/* Pan- and Zoom- Panel Styles*/

.olControlPanPanel div {
    background-image:url(../../ext/resources/images/gray/panel/tool-sprites.gif);
    height:15px;
    width:15px;
    /* workaround for button height in IE */
    font-size:0px;
}

.olControlPanPanel .olControlPanNorthItemInactive {
    background-position:15px -60px;
    left:16px
}
.olControlPanPanel .olControlPanEastItemInactive {
    background-position:15px -120px;
    left: 30px;
    top: 16px;
}
.olControlPanPanel .olControlPanSouthItemInactive {
    background-position:15px -75px;
    left: 16px;
    top: 32px;
}
.olControlPanPanel .olControlPanWestItemInactive {
    background-position:15px -105px;
    left: 2px;
    top: 16px;
}

.olControlZoomPanel { 
    left:21px;
}

.olControlZoomPanel div {
    background-image:url(../../ext/resources/images/gray/panel/tool-sprites.gif);
    height:15px;
    width:15px;
    /* workaround for button height in IE */
    font-size:0px;
}

.olControlZoomPanel .olControlZoomInItemInactive {
    background-position:15px -240px;
}

.olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
    display: none;
}

.olControlZoomPanel .olControlZoomOutItemInactive {
    background-position:15px -255px;
    top: 123px;
}

.olControlScaleLine {
    font-family: tahoma,arial,helvetica,sans-serif;
}

/* position the zoom slider within map panel */
.gx-zoomslider {
    top: 90px;
    left: 17px
}


/*dlz stuff*/
.details .x-btn-text {
background-image:url("../images/app/details.gif");
}